home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
HPAVC
/
HPAVC CD-ROM.iso
/
ML_VECTB.ZIP
/
UTILS
/
MK_ML.PAS
< prev
next >
Wrap
Pascal/Delphi Source File
|
1996-04-03
|
707b
|
30 lines
{$M 32000,0,0}
{ Program which creates the 'ML' text-bitmap, using ML82.SFT image. }
{ by Maple Leaf, 1996 - No comments are necessarry }
uses dosio,alloc;
var f:file;
p:pointer;
procedure writeML;
var fo:file; y:word;
begin
writeln('Creating X-Mode type ML bitmap ...');
openforoutput(fo,'ml.btm','');
y:=93; blockwrite(fo,y,2);
y:=31; blockwrite(fo,y,2);
for y:=0 to 30 do begin
seek(f,768+320*longint(y));
blockread(f,p^,93);
blockwrite(fo,p^,93);
end;
closefile(fo,'');
end;
begin
p:=malloc(100); { 100 bytes is enough }
openforinput(f,'ml82.sft','');
WriteML;
closefile(f,'');
free(p);
Writeln('All done.');
end.